package com.woniu.idearbac.Service;

import com.woniu.idearbac.dto.RolesDTO;
import com.woniu.idearbac.entity.SysRole;

import java.util.List;

/**
 * 功能描述
 *
 * @author PC
 * @date -2022/11/30-时间-13:25
 * @product idea-rbac
 */
public interface RolesService {

    List<String> selectRolesByTel(String tel);
    int insertRoles(RolesDTO rolesDTO);

    List<SysRole> selAll();

    List<Integer> selRolesByUid(Long uid);

    int deleteByPrimaryKey(Long id);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRole record);

}
